// el-table 表格响应高度
.el-table {
  display: flex;
  flex-direction: column;
  .el-table__body-wrapper {
    flex-grow: 1;
    overflow: auto;
  }
  .el-table__header {
    tr,
    th {
      height: 50px;
    }
  }
  .el-table__header-wrapper {
    min-height: 50px;
  }
  th > .cell {
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.65);
    padding-right: 0 !important;
    display: flex;
    align-items: center;
  }
  .sort-caret.ascending {
    top: 6px !important;
  }
  .sort-caret.descending {
    bottom: 6px !important;
  }
}
// el-dialog 样式修改
.el-dialog__header {
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 24px !important;
}
.el-dialog__title {
  color: rgba(0, 0, 0, 0.85) !important;
  font-weight: 500 !important;
  font-size: $font-size-lg !important;
  line-height: 22px;
}
.el-dialog__body {
  padding: 20px !important;
}
.el-dialog__footer {
  padding: 10px 16px !important;
  border-top: 1px solid #e8e8e8;
  text-align: right;
}
.el-dialog__headerbtn {
  top: 17px !important;
}
// 调整el-message-box按钮排序
.el-message-box__btns {
  direction: rtl;
  button:nth-child(2) {
    margin-right: 10px;
  }
}
// textarea 样式统一调整
.el-textarea__inner {
  font-size: $font-size-base;
  color: #606266;
  font-family: Microsoft YaHei, -apple-system, BlinkMacSystemFont, segoe ui,
    Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji,
    segoe ui emoji, segoe ui symbol, noto color emoji;
}
.el-upload-list--picture-card .el-upload-list__item-actions span + span {
  margin-left: 0;
}
// 默认分页右对齐
.el-pagination {
  text-align: right;
}
.menu {
  margin: -9px -10px 10px;
  > .el-menu-item {
    line-height: 40px;
    height: auto;
  }
}
// tab内容页默认flex-grow=1
.el-tabs.d-flex-col .el-tabs__content {
  flex-grow: 1;
}
// scrollbar 隐藏x轨道
.el-scrollbar {
  overflow: hidden !important;
}
.el-scrollbar__wrap {
  overflow-x: hidden !important;
  ::-webkit-scrollbar {
    height: 0;
  }
}
// table内el-link样式调整
.el-link {
  margin: 0 5px;
  &:hover::after {
    display: none;
  }
}
// el-button--small、el-link字体大小统一
.el-table {
  .el-button--small {
    font-size: $font-size-base;
  }
  .el-link {
    font-size: $font-size-base;
    vertical-align: baseline;
    margin:0 5px;
  }
  .anticon{
    font-size: $font-size-base;
  }
  .el-badge{
    vertical-align: baseline;
  }
  .ant-badge,.ant-badge-status-text{
    font-size: inherit;
  }
}
// nprogress插件样式调整
#nprogress .spinner {
  top: 21px !important;
  right: 8px !important;
}
// el-image-viewer__wrapper
.el-image-viewer__wrapper {
  z-index: 3000 !important;
}
.el-select-dropdown__wrap {
  margin-bottom: 0 !important;
}
